package com.netposa;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableDiscoveryClient
@EnableApolloConfig
@Configuration
@MapperScan(
   basePackages = {"com.netposa.mapper"}
)
@EnableScheduling
public class PoliceApplication {
   public static void main(String[] args) {
      SpringApplication.run(PoliceApplication.class, args);
   }
}
